class Bank {
  int? id;
  String no = '';
  String? bank;// ICBC
  String? phone;
  String? name;

  Bank(
      {this.id,
        this.no = '',
        this.bank,
        this.phone,
        this.name});

  Bank.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    no = json['no'];
    bank = json['bank'];
    phone = json['phone'];
    name = json['name'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['no'] = this.no;
    data['bank'] = this.bank;
    data['phone'] = this.phone;
    data['name'] = this.name;
    return data;
  }
}
